Skip to content

Conversation

@tecfreakz
Copy link

matthijskooijman and others added 30 commits December 28, 2015 15:19
When a sketch has unsaved changes, a temporary copy of the sketch is
made with those changes applied. This copy is then passed to
arduino-builder.

Previously, this temporary copy was kept around and only deleted when
the IDE was closed. However, all files were written to it again on every
build, so keeping the old files around did not serve any real purpose.

When a file was renamed in the IDE, the original name would still be
present in the temporary copy, and could cause linker errors because
both were compiled.

This commit makes sure the temporary copy is deleted after every build,
instead of at IDE exit, which fixes this problem with renames.

When a file is deleted from the sketch, the file would also be deleted
from the temporary copy, presumably to fix this same problem for
deletes (but renames were forgotten). With this commit, this special
handling for deleting files is no longer needed, so it is removed.

This fixes #4335
When a sketch has unsaved changes, a temporary copy of the sketch is
made with those changes applied. This copy is then passed to
arduino-builder.

Previously, the name of this directory contained a hash of the main
sketch filename, so the same directory would be used between builds. Now
that this directory is deleted after every build, it can just use a
randomized directory name, which is what this commit does.

Addtionally, the prefix used for generating the name is changed from
"arduino_" to "arduino_modified_sketch_" to make it slightly clearer
what the directory is for (just in case it somehow survives the build,
or a user sees it during the build).
serial.port.iserial holds the iSerial value
Solves upload to particularly configured SSH servers which wrongly chooses Kerberos auth method
cross-platform jni implementation for serial port details discovery
all this code will be replaced/removed as soon as the native library is fully validated
Since this example utilizes a statically assigned IP address, it is not necessary to call Ethernet.maintain().
Removed implicit conversions from unsigned, to signed, back to unsigned.
This is a necessary step to fully support ARM builds of the Arduino IDE

See #3549
This function was already deprecated and still triggers a java warning.
Removing it silences that.
This silences some java warnings.
cmaglie and others added 29 commits January 26, 2016 12:09
The caller of Theme.getThemeImage(...) now pass only the name of
the needed resource and the theme folder is searche in the following
order:

  - name.svg
  - name.png (if svg is not available)
  - name@2x.png (if none of the above are available or if 1x png is
    too low resolution for the current scaling factor)
…h rather than redefining everything."

This reverts commit 05a9750.
The current code is very verbose and a painful to maintain (Change ISR implementation in 20 different places? No Thanks!).

(This was originally part of #4519, but we all agreeded it deserved it's own PR)
ATmega1284/ATmega1284p have a 16 bit Timer 3 (not present in the ATmega644 and below).
Add to the #define to use Timer 3 or Timer 1 optionally.
Added to #define for 1284/1284p Timer 3 inclusion.
Boilerplate reduction on ISR declaration
@facchinm facchinm merged commit cd9a6ec into ide-1.5.x Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.